package entities;

import java.io.Serializable;
import java.util.Date;

import basic.BaseEntity;
import basic.FieldMeta;

public class TResource extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@FieldMeta(primary = true, name = "资源编号", description = "资源编号", column = "res_no", require = true, range = true, length = 32, order = 0)
	private String resNo;

	public String getResNo() {
		return resNo;
	}

	public void setResNo(String resNo) {
		this.resNo = resNo;
	}

	@FieldMeta(name = "操作员编号", description = "操作员编号", column = "opt_no", require = true, length = 32, order = 1)
	private String optNo;

	public String getOptNo() {
		return optNo;
	}

	public void setOptNo(String optNo) {
		this.optNo = optNo;
	}

	@FieldMeta(name = "资源名称", description = "资源名称", column = "res_name", require = true, length = 50, order = 2)
	private String resName;

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	@FieldMeta(name = "资源action", description = "资源action", column = "res_action", require = true, length = 50, order = 3)
	private String resAction;

	public String getResAction() {
		return resAction;
	}

	public void setResAction(String resAction) {
		this.resAction = resAction;
	}

	@FieldMeta(name = "资源method", description = "资源method", column = "res_method", require = true, length = 50, order = 4)
	private String resMethod;

	public String getResMethod() {
		return resMethod;
	}

	public void setResMethod(String resMethod) {
		this.resMethod = resMethod;
	}

	@FieldMeta(name = "资源access", description = "资源access", column = "res_access", require = true, length = 50, order = 5)
	private String resAccess;

	public String getResAccess() {
		return resAccess;
	}

	public void setResAccess(String resAccess) {
		this.resAccess = resAccess;
	}

	@FieldMeta(name = "控制对象", description = "控制对象", column = "res_target", require = true, length = 50, order = 6)
	private String resTarget;

	public String getResTarget() {
		return resTarget;
	}

	public void setResTarget(String resTarget) {
		this.resTarget = resTarget;
	}

	@FieldMeta(name = "控制类型", description = "控制类型", column = "res_type", require = true, length = 50, order = 7)
	private String resType;

	public String getResType() {
		return resType;
	}

	public void setResType(String resType) {
		this.resType = resType;
	}

	@FieldMeta(name = "控制内容", description = "控制内容", column = "res_term", require = true, length = 500, order = 8)
	private String resTerm;

	public String getResTerm() {
		return resTerm;
	}

	public void setResTerm(String resTerm) {
		this.resTerm = resTerm;
	}

	@FieldMeta(name = "状态", description = "状态", column = "res_state", require = true, length = 1, order = 9)
	private String resState;

	public String getResState() {
		return resState;
	}

	public void setResState(String resState) {
		this.resState = resState;
	}

	@FieldMeta(name = "创建日期", description = "创建日期", column = "res_date", require = true, range = true, order = 10)
	private Date resDate;

	public Date getResDate() {
		return resDate;
	}

	public void setResDate(Date resDate) {
		this.resDate = resDate;
	}

	@FieldMeta(name = "备注", description = "备注", column = "res_remark", length = 100, order = 11)
	private String resRemark;

	public String getResRemark() {
		return resRemark;
	}

	public void setResRemark(String resRemark) {
		this.resRemark = resRemark;
	}

}